Skip to content

[raft] Add base memstore #1527

Merged
barroco merged 1 commit into
interuss:masterfrom
Orbitalize:add_base_memstore
Jun 29, 2026
Merged

[raft] Add base memstore #1527
barroco merged 1 commit into
interuss:masterfrom
Orbitalize:add_base_memstore

Conversation

@the-glu

@the-glu the-glu commented Jun 15, 2026

Copy link
Copy Markdown
Member

This PR is part of a new chain, implementing memstore.

#1525 (Generic raftstore) -> #1527 (Base memstore) -> #1529 (Aux memstore) -> #1530 (Snapshots) -> #1534 (Rid memstore) -> #1535 (Correct use of now) -> #1539 (Checkpoint) -> #1542 (Scd memstore) -> #1528 (First PR with raft using memstore)

It does add the base for the 'in memory' store to be used by raft as underlying storage.

Rationale for direct, in memory structure is in #1526

In theory, this store could be used e.g. for testing as 'regular' storage with small tweaks (like implementation of transact and being thread-safe), but for now it's goal is only to be used by raft.

Follow-up PRs will come with actual implementation.

@the-glu the-glu force-pushed the add_base_memstore branch 2 times, most recently from 88968fa to c44105e Compare June 15, 2026 12:05
@the-glu the-glu force-pushed the add_base_memstore branch 2 times, most recently from 7a58f6e to 49b621f Compare June 16, 2026 08:56
@barroco barroco added the dss-raft Relating to the application-layer consensus implemenation based on raft label Jun 17, 2026
@the-glu the-glu force-pushed the add_base_memstore branch from 49b621f to 3115532 Compare June 18, 2026 07:48
@the-glu the-glu force-pushed the add_base_memstore branch from 3115532 to 56c5e85 Compare June 18, 2026 08:25
@the-glu the-glu force-pushed the add_base_memstore branch from 56c5e85 to 35a64a4 Compare June 19, 2026 13:27
@the-glu the-glu force-pushed the add_base_memstore branch from 35a64a4 to 2bb37c0 Compare June 22, 2026 09:32
Comment thread pkg/timestamp/timestamp.go
Comment thread pkg/store/params/params.go Outdated
Comment thread pkg/memstore/store.go Outdated
Comment thread pkg/memstore/store.go Outdated
Comment thread pkg/memstore/store.go Outdated
@the-glu the-glu force-pushed the add_base_memstore branch 2 times, most recently from a52b338 to 0bbc7e5 Compare June 29, 2026 07:03
@the-glu the-glu requested a review from barroco June 29, 2026 07:03
@the-glu the-glu force-pushed the add_base_memstore branch from 0bbc7e5 to 03db678 Compare June 29, 2026 12:03
@the-glu the-glu force-pushed the add_base_memstore branch from 03db678 to 4a72b5d Compare June 29, 2026 12:10
@barroco barroco merged commit 478987d into interuss:master Jun 29, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dss-raft Relating to the application-layer consensus implemenation based on raft

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants